import Layout from '@/layout'
export default {
  path: '/staff',
  component: Layout,
  name: 'staff',
  children: [{
    path: '',
    component: () => import('@/views/staff'),
    meta: {
      title: '员工',
      icon: 'peoples'
    }
  },
  {
    path: 'detail/:id?',
    component: () => import('@/views/staff/detail'),
    hidden: true,
    meta: {
      title: '员工详情'
    }
  }]
}
